//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://www.ticketnetwork.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
trackingLink :"",
CreateCustomUrl : function(row) {
return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx";
},
CreateEventRow : function(row, isAlt) {
return "
" +
row[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ this.linkText+ " |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kywrds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
if(this.kbid != "")
this.trackingParams = "?img=249&kbid="+this.kbid;
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newTable.join('') + '
';
} else
document.write('' + newTable.join('') + '
');
if(eventData.length >= 100 && kywrds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
if(eventData.length > 0) {
document.getElementById("previewNote").style.display = "none";
}
}
};
}();
//BPW-TNSERV-03B
TN_Widget.CreateTable([['ECHL Central Division Finals: Toledo Walleye vs. Wheeling Nailers - Home Game 1, Series Game 1','Huntington Center','Toledo, OH','Friday','5/3/2024','7:15 PM','6354222','ECHL-Central-Division-Finals--Toledo-Walleye-vs--Wheeling-Nailers---Home-Game-1--Series-Game-1-5-3-2024'],['ECHL Central Division Finals: Toledo Walleye vs. Wheeling Nailers - Home Game 2, Series Game 2','Huntington Center','Toledo, OH','Saturday','5/4/2024','7:15 PM','6354223','ECHL-Central-Division-Finals--Toledo-Walleye-vs--Wheeling-Nailers---Home-Game-2--Series-Game-2-5-4-2024'],['ECHL Central Division Finals: Wheeling Nailers vs. Toledo Walleye - Home Game 1, Series Game 3','Wesbanco Arena','Wheeling, WV','Wednesday','5/8/2024','7:10 PM','6410624','ECHL-Central-Division-Finals--Wheeling-Nailers-vs--Toledo-Walleye---Home-Game-1--Series-Game-3-5-8-2024'],['ECHL Central Division Finals: Wheeling Nailers vs. Toledo Walleye - Home Game 2, Series Game 4','Wesbanco Arena','Wheeling, WV','Friday','5/10/2024','7:10 PM','6410625','ECHL-Central-Division-Finals--Wheeling-Nailers-vs--Toledo-Walleye---Home-Game-2--Series-Game-4-5-10-2024'],['ECHL Central Division Finals: Wheeling Nailers vs. Toledo Walleye - Home Game 3, Series Game 5 (If Necessary)','Wesbanco Arena','Wheeling, WV','Saturday','5/11/2024','7:10 PM','6410626','ECHL-Central-Division-Finals--Wheeling-Nailers-vs--Toledo-Walleye---Home-Game-3--Series-Game-5--If-Necessary--5-11-2024'],['ECHL Central Division Finals: Toledo Walleye vs. Wheeling Nailers - Home Game 3, Series Game 6 (Date: TBD - If Necessary)','Huntington Center','Toledo, OH','Monday','5/13/2024','7:10 PM','6354224','ECHL-Central-Division-Finals--Toledo-Walleye-vs--Wheeling-Nailers---Home-Game-3--Series-Game-6--Date--TBD---If-Necessary--5-13-2024'],['ECHL Central Division Finals: Toledo Walleye vs. Wheeling Nailers - Home Game 4, Series Game 7 (Date: TBD - If Necessary)','Huntington Center','Toledo, OH','Tuesday','5/14/2024','7:10 PM','6354225','ECHL-Central-Division-Finals--Toledo-Walleye-vs--Wheeling-Nailers---Home-Game-4--Series-Game-7--Date--TBD---If-Necessary--5-14-2024'],['ECHL Western Conference Finals: Toledo Walleye vs. TBD - Home Game 1 (Date: TBD - If Necessary)','Huntington Center','Toledo, OH','Wednesday','5/15/2024','TBD','6354226','ECHL-Western-Conference-Finals--Toledo-Walleye-vs--TBD---Home-Game-1--Date--TBD---If-Necessary--5-15-2024'],['ECHL Western Conference Finals: Toledo Walleye vs. TBD - Home Game 2 (Date: TBD - If Necessary)','Huntington Center','Toledo, OH','Friday','5/17/2024','TBD','6354227','ECHL-Western-Conference-Finals--Toledo-Walleye-vs--TBD---Home-Game-2--Date--TBD---If-Necessary--5-17-2024'],['ECHL Western Conference Finals: Toledo Walleye vs. TBD - Home Game 3 (Date: TBD - If Necessary)','Huntington Center','Toledo, OH','Thursday','5/23/2024','TBD','6354228','ECHL-Western-Conference-Finals--Toledo-Walleye-vs--TBD---Home-Game-3--Date--TBD---If-Necessary--5-23-2024'],['ECHL Western Conference Finals: Toledo Walleye vs. TBD - Home Game 4 (Date: TBD - If Necessary)','Huntington Center','Toledo, OH','Monday','5/27/2024','TBD','6354229','ECHL-Western-Conference-Finals--Toledo-Walleye-vs--TBD---Home-Game-4--Date--TBD---If-Necessary--5-27-2024'],['Kelly Cup Finals: Toledo Walleye vs. TBD - Home Game 1 (Date: TBD - If Necessary)','Huntington Center','Toledo, OH','Wednesday','5/29/2024','TBD','6354230','Kelly-Cup-Finals--Toledo-Walleye-vs--TBD---Home-Game-1--Date--TBD---If-Necessary--5-29-2024'],['Kelly Cup Finals: Toledo Walleye vs. TBD - Home Game 2 (Date: TBD - If Necessary)','Huntington Center','Toledo, OH','Friday','5/31/2024','TBD','6354231','Kelly-Cup-Finals--Toledo-Walleye-vs--TBD---Home-Game-2--Date--TBD---If-Necessary--5-31-2024'],['Kelly Cup Finals: Toledo Walleye vs. TBD - Home Game 3 (Date: TBD - If Necessary)','Huntington Center','Toledo, OH','Thursday','6/6/2024','TBD','6354233','Kelly-Cup-Finals--Toledo-Walleye-vs--TBD---Home-Game-3--Date--TBD---If-Necessary--6-6-2024'],['Kelly Cup Finals: Toledo Walleye vs. TBD - Home Game 4 (Date: TBD - If Necessary)','Huntington Center','Toledo, OH','Tuesday','6/11/2024','TBD','6354234','Kelly-Cup-Finals--Toledo-Walleye-vs--TBD---Home-Game-4--Date--TBD---If-Necessary--6-11-2024']],'Toledo Walleye','http://www.ticketnetwork.com/ticket/Toledo-Walleye-events.aspx');